package com.jindy.module.oaPayApproval.service;

import java.util.List;

import com.jindy.module.oaEvectionApproval.domain.SyOaEvection;
import com.jindy.module.oaPayApproval.domain.SyOaPay;

/**
 * 财务付款审批Service接口
 * 
 * @author jindy
 * @date 2023-06-16
 */
public interface ISyOaPayService 
{
    /**
     * 查询财务付款审批
     * 
     * @param id 财务付款审批主键
     * @return 财务付款审批
     */
    public SyOaPay selectSyOaPayById(Long id);

    /**
     * 查询财务付款审批列表
     * 
     * @param syOaPay 财务付款审批
     * @return 财务付款审批集合
     */
    public List<SyOaPay> selectSyOaPayList(SyOaPay syOaPay);

    /**
     * 新增财务付款审批
     * 
     * @param syOaPay 财务付款审批
     * @return 结果
     */
    public int insertSyOaPay(SyOaPay syOaPay);

    /**
     * 修改财务付款审批
     * 
     * @param syOaPay 财务付款审批
     * @return 结果
     */
    public int updateSyOaPay(SyOaPay syOaPay);

    /**
     * 批量删除财务付款审批
     * 
     * @param ids 需要删除的财务付款审批主键集合
     * @return 结果
     */
    public int deleteSyOaPayByIds(Long[] ids);

    /**
     * 删除财务付款审批信息
     * 
     * @param id 财务付款审批主键
     * @return 结果
     */
    public int deleteSyOaPayById(Long id);

    /**
     * 提交申请
     * @param syOaPay
     */
    void submitApply(SyOaPay syOaPay) throws Exception;
}
